module.exports = {

    entry:'./js/entry.js',
    output:{
        filename:'./bundle.js',
    },
    "devtool":"source-map",
    module:{
        loaders:[
            {
                test:/\.css$/,
                loader:'style-loader!css-loader',
            },
            {
                test:/\.less$/,
                loader:'style-loader!css-loader!less-loader'
            },
            {
                test:/\.js$/,
                loader:'babel-loader',
                exclude:/node_modules/,
                query:{
                    presets:['es2015']
                }
            }
        ]
    }

}
